home *** CD-ROM | disk | FTP | other *** search
/ Cinema Studio: Frank Herrmann / Cinema Studio - Frank Herrmann.iso / tools / raystorm / arexx / supersample.ray < prev    next >
Text File  |  1995-08-06  |  997b  |  49 lines

  1. /***************
  2.  * NAME:          supersample.ray
  3.  * VERSION:       1.0 06.08.1995
  4.  * DESCRIPTION:   This ARexx-programm demonstrates random colors of faces
  5.  * AUTHORS:       Andreas Heumann
  6.  * BUGS:          none
  7.  * TO DO:         none
  8.  * HISTORY:       DATE     NAME  COMMENT
  9.  *                06.08.95 ah    initial release
  10.  ***************/
  11.  
  12. OPTIONS RESULTS
  13.  
  14. IF ~SHOW('P','RAYSTORM') THEN DO  /* if not allready running, start RayStorm */
  15.    ADDRESS COMMAND 'run >NIL: <NIL: /raystorm'
  16.    ADDRESS COMMAND WaitForPort RAYSTORM
  17. END  
  18.  
  19. ADDRESS RAYSTORM
  20.  
  21. TEXTUREPATH '/textures'
  22.  
  23. SETSCREEN 160 128
  24. SETCAMERA '0 0 -300  0 0 0  0 1 0  56.25 45'
  25. SETWORLD '0 0 0  100 100 100'
  26. POINTLIGHT '0 0 -200  255 255 255'
  27.  
  28. NEWSURFACE MAP
  29. IMTEXTURE 'checker.itx 0 1 0  0 0 0  32 32 32 255 255 255'
  30. DIFFUSE 255 0 0
  31.  
  32. SPHERE MAP 0 0 0 50
  33.  
  34. ANTIALIAS 1
  35. STARTRENDER
  36. SAVEPIC 'supersample_1.iff'
  37.  
  38. ANTIALIAS 2
  39. STARTRENDER
  40. SAVEPIC 'supersample_2.iff'
  41.  
  42. ANTIALIAS 3
  43. STARTRENDER
  44. SAVEPIC 'supersample_3.iff'
  45.  
  46. CLEANUP
  47.  
  48. exit 0
  49.